package com.aop;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @Author: tgy
 * @Date: 2020-08-11 18:41
 */
@SpringBootApplication
//默认在 autoconfigure包中开启了，如果要设置 exposeProxy属性，则需要自己添加
//@EnableAspectJAutoProxy
//默认在 autoconfigure包中开启了
//@EnableTransactionManagement
public class AopApplication {

    public static void main(String[] args) {

        SpringApplication.run(AopApplication.class,args);
    }
}
